package com.maxuxu.service;

import com.maxuxu.pojo.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookService {
    // 增
    int addBook(Books book);
    // 删
    int delBookByID(int id);
    // 改
    int updBook(Books book);
    // 查
    Books queryBookByID(int id);
    List<Books> queryAllBook();
}
